package com.shengqin.service;

import com.shengqin.entity.Classes;
import com.shengqin.entity.PlanRelationClasses;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Collection;
import java.util.List;
import java.util.Set;

/**
 * <p>
 * 计划关联学校年级班级 服务类
 * </p>
 *
 * @author Rui.Zhou
 * @since 2023-12-05
 */
public interface IPlanRelationClassesService extends IService<PlanRelationClasses> {

    List<PlanRelationClasses> listByPlanIds(List<Integer> planIds);

    List<PlanRelationClasses> listByPlanId(Integer planId);

    List<PlanRelationClasses> listByPlanIdAndSchoolId(Integer planId, Integer schoolId);

    boolean removeByPlanId(Integer id);

    List<PlanRelationClasses> listBySchoolIds(List<String> list);

    List<PlanRelationClasses> listByPlanIdAndSchoolIdAndClassesId(Integer planId, Integer schoolId, Integer classesId);

    List<PlanRelationClasses> listByPlanIdAndSchoolIds(Integer planId, Set<Integer> schoolIds);

    List<PlanRelationClasses> listByPlanIdAndClassesIds(Integer planId, Collection<Integer> classesIds);
}
